package com.dx.financehy.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@ApiModel(description = "入参只有ID列表 时候就统一用这个")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class IdsPageEntity extends PageDTO{
    @ApiModelProperty(value = "ID列表",required = true)
    @NotEmpty(message = "id列表不能为空")
    private List<String> ids;
}
